'use strict';

const Controller = require('egg').Controller;
class HomeController extends Controller {
  /**
   *
   *
   * @memberof HomeController
   */
  async index() {
    const user = this.ctx.service.user;
    const sc = await user.find(1);
    this.app.logger.info('getUser', sc);
    this.ctx.body = sc;
  }
}

module.exports = HomeController;
